add :scope option for uniqueness validator