Encode segment ID for output