Added improve symbol table management for Allegra2. It now (approximately) handles nested scopes.