Search the hierarchy for the node with the given nodeId.
Recursively search a list of hierarchy nodes for the node with the given nodeId.