Widget header unique classes

please study the RELATED links here in the right sidebar.

http://codex.wordpress.org/Function_Reference/register_sidebar

refer to this line:

'before_widget' => '<li id="%1$s" class="widget %2$s">',

%1$s outputs an id specific to the widget type; %2$s outputs a widget specific class including an unique number.