There is a couple of validators that check for duplicates by looking a for a match by name and then compares the id of the object being validated with that of the possible existing duplicate to be to skip past the object that is being validated. This code needs to do the comparison on uuids instead of ids.
Known validators with this issue:
ConceptValidator, ConceptMapTypeValidator, ConceptReferenceTermValidator
Look at other validators and find if they need to be fixed too, by convention validators reside in the org.openmrs.validator package