extract uid's
unique list of segments