I have not noticed from which version onwards the possibility to edit the ID of the color was activated for the Cornerstone colors.
But the whole thing should be treated with caution. As long as you leave the ID’s unique, it is no problem to assign a second color with the same name. (Which of course also makes no sense, but this is a technical question)
If I assign an ID twice, a third color appears!
And when I add another one with the same ID it gets crazy!
I think it’s good that you can at least see the ID to use it for a CS shortcode, for example. But the field should be set to “readonly”, or only be displayed as text at all. I see no reason why you should change this yourself. If absolutely necessary, you can also do it via the DevTool.
If it is still desired that you can also change the ID in the color editor, then at least a validation for duplicates must be introduced!