Possible to reset a segment ID inside the SegmentEditor?

Inside windows,
Version: 4.11.20210226

Hi guys,
I have an issue like this:
while I apply
Method-A: slicer.modules.segmentations.logic().ImportLabelmapToSegmentationNode(self.labelNode, self.segmentationNode), the resulted segmentsID go as numbers as “1, 2, 3, 4, 5…”

Method-B: While inside segment-editor to click “Add” to have a new segment which will have a segmentID as “Segment_1”, “Segment_2”…

So how can I share a consistent way to control those segmentIDs there?
Either numbers (A) or “Segment_x” (B) works for me but I prefer to having the consistent way.

In recent Slicer Preview Releases we use the color names instead of just 1, 2, 3, … when you import a labelmap volume into a segmentation. Color names are used as segment IDs by default, too (but if needed a suffix is added to make them unique).

Segment IDs are never displayed to the user, so they can be treated as unique strings with random content. They are usually initialized with human-readable strings for more convenient debugging, but if we find that it confuses developers then we might consider switching to some random hash in the future.

@lassoan
Thanks a lot.