segment inherits unique_segment, so unique_segment members can be referenced from an instance of segment. Eventually, segment will be removed. Adjust references to go through unique_segment to support this change.