def sanitizeString(name):
newString = name<EOL>replaceTable = [<EOL>('<STR_LIT>', '<STR_LIT>'),  <EOL>('<STR_LIT:">', '<STR_LIT>'),<EOL>('<STR_LIT:<>', '<STR_LIT>'),<EOL>('<STR_LIT:?>', '<STR_LIT>'),<EOL>('<STR_LIT:*>', '<STR_LIT>'),<EOL>('<STR_LIT:=>', '<STR_LIT>'),<EOL>('<STR_LIT:+>', '<STR_LIT>'),<EOL>('<STR_LIT:>>', '<STR_LIT>'),<EOL>('<STR_LIT:|>', '<STR_LIT>'),<EOL>('<STR_LIT:U+002C>', '<STR_LIT>'),<EOL>]<EOL>for r in replaceTable:<EOL><INDENT>newString = newString.replace(r[<NUM_LIT:0>], r[<NUM_LIT:1>])<EOL><DEDENT>for x in range(<NUM_LIT:0>, <NUM_LIT>):<EOL><INDENT>newString = newString.replace(<EOL>chr(x), hex(x + sanitizerNum).replace('<STR_LIT>', '<STR_LIT>'))<EOL><DEDENT>replaceTable2 = [<EOL>("<STR_LIT:/>", "<STR_LIT:=>"),<EOL>("<STR_LIT::>", "<STR_LIT:+>"),<EOL>("<STR_LIT:.>", "<STR_LIT:U+002C>"),<EOL>]<EOL>for r in replaceTable2:<EOL><INDENT>newString = newString.replace(r[<NUM_LIT:0>], r[<NUM_LIT:1>])<EOL><DEDENT>return newString<EOL>
Cleans string in preparation for splitting for use as a pairtree
    identifier.