Get unique_component_id for segmentation meta

This can work as a temporary fix, but is to planned to be added to the next release of the SDK?
FYI, you also need to set meta->unique_id = src_meta->unique_id in copy_segmentation_meta.