public Node.id
Segment optimization part1: nodeid -> Node

Treat Point and Segment as record types.