Adding a SegmentId type