add component name as class to it's root element