Add NOT_UNIQUE error message constants to EventMessages. Closes #2063