Rename global_id -> id
Impl read_segment