validate uniqueness of model names