Any way to stop ID names from changing?

I’m referring to some objects via ID name in a blueprint, but the ID names will always change to something else whenever changes are made to the blueprint. This seems pretty counterproductive to the whole point of ID names in the first place, so I was wondering is there any way to keep it constant?