Introducing namespace and scope awareness for variable resolution.