fn clean_id(old_id: String) -> String
Cleans the ID string by removing HTML tags and special characters, and replacing spaces and underscores with hyphens.