semantic: Add qualified name lookup.

Treats all not last identifiers as scope, and the last as not.
ir: Add userAttribute field to Attribute.
semantic: Add fillInAttribute function.