Added unique name validation