Replaces deprecated 'uniq: true' clauses with scoped uniqueness validation