Merge "Pass segment id explicitly to quantizer init." into nextgenv2