DNN-5874 Check if unique display name is required in user editor

Related to Pull request #160, this one is clean and should be easier to read and merge.