Added utility for transforming string into valid css class name.