Changed name and attribute resolution to a name-/attribute-space approach. Possible bug in name/*/* path (see test.R).