Maybe we should use the `dom_class` function from Rails for this? http://rdoc.info/docs/rails/ActionView/RecordIdentifier:dom_class