Implement unique name validations.
minor tweak to exception message.