Adaptation of ResourceIdentity to support urns and local ids (anchors)
Implemented IsTargetOf() for ResourceIdentity