This function returns the Scope associated with a node.
This function looks up scope by its FQN. This only works for NameScopes