For this and Pid I'd also consider renaming them VertexID and PartitionID. It's a bit longer but more obvious. VID and PID could also work but will get confusing with all the VDs and such floating around (they'll look like type params).