Identifierresolution rewrites applied occurrences.

The rewrite differs from the old version in that there is no callNode
around the memberNode.  I think that this is OK, since the code
generators treat member nodes as nullary requests.
Still TODO: re-writing inherits ‹foo› as inherits ‹foo›()object,
and adding providedNames in inherits node.