adding scope to uniqueness validations