Move out unique entity validator