pub fn clean_id(key: &str) -> String
cleans a string down to characters acceptable for an id attribute