Refactor how tag names are sanitized so we can't skip downcasing by using update_attributes.