Symbol: Clarify attributes of Scope.
Symbol test: [TDD] Rename API for clarity; document functional test.
Symbol: Split lookup_symbol.

* Create distinguished functions for global and local lookup.
* Local lookup ignores visibility.