toCssClass returns lower case strings