The general idea for the method is that it should take an input and return a string that would be safe for an ID. However, `-`, `.`, and `:` are legal characters for and id, however, they cause problems with AUI, so these characters are also removed.