basic hierarchical scopes for symbol tables