getting core io tests to pass, fixing some other errors
refactoring SymbolMap on top of IdentifierMap