check for duplicate pmatch expressions

to match units and throw a validation
error if found.
ou-5932 make sure that units are

saved and loaded in a consistent order
make sure that id changes don't affect

unit response classification