Sub topic 8
Resolving potential matches with secondary identifiers
A name score tells you that two strings look alike. It does not tell you that two people are the same. This chapter covers how analysts use secondary identifiers to resolve a potential match, how to apply them in code, and where the common errors occur.
This chapter assumes you have read the earlier chapters on name normalization, name matching, and thresholds. You should be comfortable with a similarity score between 0.0 and 1.0 and with the idea that a score above a threshold creates an alert.
Why names alone are not enough
Many people share a name. A common name such as "Mohamed Ali" can match dozens of listed entries and thousands of customers. Transliteration makes it worse: one Arabic or Cyrillic name can be written in several Latin spellings, so a fuzzy match is often needed, and a fuzzy match produces more false positives.
Secondary identifiers are data fields other than the name that help confirm or rule out a match. They let an analyst move from "these names look alike" to "this is, or is not, the listed party."
Common secondary identifiers include:
- Date of birth (DOB), or only the year of birth.
- Nationality and country of residence.
- Place of birth.
- Government ID numbers, such as passport or national ID numbers.
- For entities: registration number, country of incorporation, address, and tax ID.
- For vessels and aircraft: IMO number, flag, or registration number.
- Aliases and previously used names.
What each identifier tells you
Identifiers differ in how strongly they confirm or exclude a match. Treat them as evidence of different weight, not as equal votes.
| Identifier | Strength to confirm | Strength to exclude | Main caveat |
|---|---|---|---|
| Unique ID number (passport, national ID) | Strong | Moderate | The listing may hold an old or different document number. |
| Full date of birth | Moderate to strong | Moderate to strong | Lists often hold several dates, ranges, or only a year. |
| Year of birth only | Weak | Moderate | Many people share a year. |
| Nationality | Weak | Weak | People hold multiple nationalities and change them. |
| Place of birth | Weak to moderate | Weak | Spelling and country names change over time. |
| Address | Weak | Weak | Addresses on lists are often dated or at city level only. |
| Entity registration number | Strong | Moderate | Formats differ by country. |
Two rules follow from this table.
- A matching secondary identifier raises confidence. A matching unique ID number can confirm a match even when the names differ a lot.
- A mismatch is not always proof of a different person. A mismatch excludes a match only when the data on both sides is reliable and the identifier is one that should not vary.
Data quality on both sides
Before comparing, check what you actually hold.
On the customer side, a DOB may be missing, a placeholder such as 1900-01-01 or 01/01 of a year, or entered with the day and month swapped. Customer ID numbers may have been captured without verification.
On the list side, a listing may offer several DOBs ("born 1975 or 1976"), approximate dates ("circa 1975"), or no DOB at all. Several lists record ID numbers that were valid years ago.
Three outcomes come from a comparison of one identifier:
- Match: both values exist and agree.
- Conflict: both values exist and disagree.
- Not available: at least one side is missing or unreliable.
"Not available" is not a conflict. An analyst who treats a missing DOB as a mismatch will discard real matches.
Comparing dates of birth carefully
Dates need more than string equality. The list may give only a year, or a set of possible dates. The function below classifies a comparison into the three outcomes above.
from datetime import date
def parse_partial_date(text):
"""Parse 'YYYY', 'YYYY-MM' or 'YYYY-MM-DD' into a tuple of ints.
Returns None if the text is empty or not in one of those formats.
"""
if not text:
return None
try:
parts = [int(p) for p in text.split("-")]
except ValueError:
return None
if not 1 <= len(parts) <= 3:
return None
year = parts[0]
if year < 1900 or year > date.today().year:
return None
if len(parts) >= 2 and not 1 <= parts[1] <= 12:
return None
if len(parts) == 3 and not 1 <= parts[2] <= 31:
return None
return tuple(parts)
def compare_dob(customer_dob, listed_dobs):
"""Compare one customer DOB with a list of listed DOBs.
Returns 'match', 'conflict', or 'not_available'.
"""
customer = parse_partial_date(customer_dob)
listed = [d for d in (parse_partial_date(x) for x in listed_dobs) if d]
if customer is None or not listed:
return "not_available"
for entry in listed:
shared = min(len(customer), len(entry))
if customer[:shared] == entry[:shared]:
return "match"
return "conflict"
print(compare_dob("1980-04-12", ["1980"]))
print(compare_dob("1980-04-12", ["1975-01-30"]))
print(compare_dob("1980-04-12", ["1980-04-12", "1981-04-12"]))
print(compare_dob("1900-13-01", ["1980"]))
print(compare_dob("", ["1980"]))The comparison uses only the precision both sides share. A customer born on 1980-04-12 matches a listing of "1980" because the year agrees, but that is weak evidence, since the listing does not say more. The function returns match for both a full-date agreement and a year-only agreement, so the caller should record how precise the agreement was. Section "Combining evidence" shows one way to do that.
Combining evidence
The earlier chapter showed a triage function that uses one identifier. Real alerts need several. A practical approach is to collect each identifier's outcome and then apply a rule set that the firm has written down and approved.
def assess(score, dob_result, id_result, nationality_result, threshold=0.85):
"""Return a first-pass assessment from a name score and identifier results.
Each *_result is 'match', 'conflict', or 'not_available'.
The output guides priority. A human reviewer records the final decision.
"""
if score < threshold:
return "no_alert"
if id_result == "match":
return "escalate_strong_evidence"
if id_result == "conflict" and dob_result == "conflict":
return "likely_false_positive_pending_review"
if dob_result == "conflict" and nationality_result == "conflict":
return "likely_false_positive_pending_review"
if dob_result == "match" or nationality_result == "match":
return "escalate_for_review"
return "review_insufficient_data"
print(assess(0.92, "conflict", "conflict", "not_available"))
print(assess(0.92, "match", "not_available", "match"))
print(assess(0.92, "not_available", "not_available", "not_available"))
print(assess(0.92, "conflict", "match", "conflict"))Notice what the rules do and do not do.
- A matching ID number wins over a conflicting DOB, because a matching passport number is a stronger signal than a date that may be mistyped. That fourth example is escalated, not dismissed.
- A single conflict never produces a final clearance. The label says "pending review."
- Missing data goes to
review_insufficient_data, not to a clear. When you cannot tell, the safe default is to look further, for example by requesting more information from the customer.
The resolution workflow
The following diagram shows how an analyst moves from an alert to a decision.
Two points about the workflow matter in practice. First, the loop through "request more information" must have an end. Set a time limit so that an alert does not stay open indefinitely, and decide in advance whether an unresolved alert is escalated or whether the transaction or relationship stays blocked. Second, the clearing branch needs recorded reasons, covered below.
Using other sources
When the data you hold is not enough, you can look elsewhere without guessing.
- Ask the customer. For an individual, a copy of an ID document often settles the question. Ask neutrally and do not reveal which list produced the alert.
- Check the original list entry. The full entry often includes more identifiers, a narrative, and a listing reason, which are richer than the fields that reached your screening system.
- Check your own onboarding file for documents already verified.
- Use reputable public information only as a supplement. A news article is not proof of identity, and you should note the limits of the source.
Be careful about tipping off. Do not tell a customer or third party that an alert relates to a sanctions list in a way that could prejudice a report or investigation. Your policy and local law set what you may say.
Common errors
- Treating missing data as a conflict. This clears real matches. Treat missing data as not available.
- Clearing on nationality alone. Nationality is the weakest identifier. A different nationality on file does not rule out a listed person who holds several passports.
- Ignoring aliases. Compare the customer's identifiers against every alias entry and every listed DOB, not only the primary record.
- Over-trusting placeholder DOBs. Values such as 1900-01-01 or 1970-01-01 are system defaults. A parse step like the one above should reject or flag them.
- Comparing at the wrong precision. A year-only match is not a full DOB match. Record the precision.
- Letting a score override identifiers, or the reverse. A 0.99 name score with a conflicting passport number and DOB still needs a documented decision. A 0.86 score with a matching passport number needs escalation.
- Inconsistent decisions. Two analysts looking at the same facts should reach the same result. Written rules and periodic sampling of decisions prevent drift.
- Skipping the rationale. A cleared alert with no stated reason cannot be defended later.
Recording the resolution
Each resolved alert should state which identifiers were compared, the outcome of each (match, conflict, or not available), the source of the data, and the reason for the decision. Write the reason in specific terms.
A weak record: "Not a match."
A strong record: "Name score 0.91 against listing X. Customer DOB 1980-04-12 conflicts with all listed DOBs (1975-01-30). Customer passport number differs from listed passport. Customer ID verified at onboarding. Cleared as false positive."
The strong record lets a second reviewer or a regulator follow the reasoning without asking the analyst. Later chapters cover the audit trail in more detail.
Summary of decision criteria
- Compare the strongest identifiers first: unique ID numbers, then full DOB.
- Classify each comparison as match, conflict, or not available.
- Treat conflicts as clearing evidence only when both sides' data is reliable.
- Treat missing data as a reason to seek more information, not as a clear.
- Escalate when a strong identifier matches, whatever the name score.
- Record the identifiers used and the reason for the decision.
Exercise
A name screening alert scores 0.94 against a listed individual. The customer's DOB on file is 1982-06-15. The listing shows DOBs of "1979" and "1980". The customer's passport number was never captured, and the listing has a passport number. Nationality matches on both sides. What do you do, and what do you record?
Show answer
The DOB comparison is a conflict, because 1982 does not agree with 1979 or 1980, but the DOB on file may be wrong, so it does not justify clearing alone. Nationality matches, which is weak supporting evidence. The passport comparison is not available. With one conflict, one weak match, and one missing identifier, do not clear the alert. Request a copy of the customer's passport and verify the DOB, then compare the passport number. If that is not possible within the time limit, escalate. Record the name score, each identifier and its outcome (DOB conflict, nationality match, passport not available), the request made, and the final decision with the reason.
Exercise
In the compare_dob function, a customer DOB of "1980-04-12" and a listed DOB of "1980" returns "match". Why can this be misleading, and what would you change so the analyst sees the difference?
Show answer
The match rests only on the year, which is weak evidence because many people share a birth year. Change the function to return the precision as well, for example ("match", "year") versus ("match", "full"), or return three values such as "matchfull", "matchyear", and "conflict". The triage rules can then treat a year-only match as weaker than a full-date match.