factor out Dummy/Symbol sanitization; remove None, too

None was being converted to False by the bool(); it should
just be removed since this represents an unknown attribute.
Merge pull request #8060 from smichr/symbol

Symbol/Dummy should sanitize in the same place