Fixed issues Alan pointed out
Now updating id types in the symbol table during parse