Add Saudi Arabia and UAE recognizers (National ID, Iqama, Emirates ID)
Is your feature request related to a problem? Please describe. Presidio has country-specific recognizers for 19 countries, but none for the Gulf. Teams in Saudi Arabia and the UAE use Presidio to find personal data before it goes into data platforms and LLM pipelines, and today they miss the most common identifiers there. This matters more now that Saudi Arabia's Personal Data Protection Law (PDPL) is in force and organisations need to know where personal data sits.
Describe the solution you'd like
New recognizers under predefined_recognizers/country_specific/:
| Entity | Format | Validation |
|---|---|---|
SA_NATIONAL_ID |
10 digits, starts with 1 | Luhn check digit |
SA_IQAMA (resident ID) |
10 digits, starts with 2 | Luhn check digit |
AE_EMIRATES_ID |
15 digits, 784-YYYY-NNNNNNN-C, dashes optional |
Luhn check digit |
Two details that matter in practice:
- Check-digit validation is essential. Invoice, order and account numbers in the region are often 10 digits too, so a pattern-only recognizer produces a lot of false positives.
- Arabic context words and Arabic-Indic digits. Context words should include Arabic (for example
رقم الهوية،الإقامة،الهوية الإماراتية), and validation should normalise Arabic-Indic digits (٠-٩) before computing the check digit, since Arabic documents often use them.
Saudi and UAE IBANs should already be handled by the existing IBAN recognizer.
Describe alternatives you've considered Per-project custom pattern recognizers work, but most skip the check digit. I've implemented and tested this validation logic in a small MIT-licensed library, gulf-pii-scanner, and would be happy to port it to Presidio's recognizer structure with tests.
Additional context If the maintainers agree on the entity names, I can open a PR.