Checking for name collisions