added SameNodeID, moved nodeID code into nodeID/