Implemented scope for ContainmentPathElement's namedElement reference.