make _sanitize a staticmethod of Symbol; use for Wild, too
Merge pull request #8064 from smichr/symbol

make _sanitize a staticmethod of Symbol; use for Wild, too