emString Enumeration duplicate check

The Enumeration attribute allows duplicate enum string values. List is set
to dupError, but this doesn't work because dupError is active only with
sorted lists.

Please implement a generic dupe detection algorithm. Sorting is no option, to
keep the enum-value pairs in synch.