validates uniqueness of codename