GetNodePath() can treat nodes like child nodes, based on node name, even if they have an "id" attribute.

This is required when Mitsuba adjustments files contain "ref" nodes.  ref nodes have "id" attributes, but they do not count as unique "id" nodes.