Introduce NodeId and ValueId types