Using custom validators to validate uniqueness on multinenant classes