Add a filter to adjust class names added to class related attributes

Useful for places that display category lists