## Why Most Identity Systems Break on a Common Name Type justin edwards into any search bar and you'll see the problem instantly. A basketball player's stats page. A GitHub profile full of Go code, and a university faculty listing. A LinkedIn account behind a login wall. Same three words, entirely different humans, and every one of those results is correct. Every identity system on the internet fails the "justin edwards" test - and that's a design flaw, not a data problem. That name is not a rare collision. The US Census shows thousands of people share that exact combination of first and last name. Multiply that across every CRM, directory, knowledge graph, and auth database on the planet, and you start to see why identity engineers lose sleep over a string most developers treat as trivial. This article walks through how search engines, data pipelines, and authentication systems decide which human a name points at - and what your product should steal from them. ## Names Fail Every Test a Primary Key Should Pass A primary key must be unique, stable, non-null, and immutable. A name flunks all four. People change their names through marriage, divorce, or legal action. Two people share the same name in every culture with popular surnames. And nothing stops a person from typing "Justin Edwards" four different ways across four forms - with a middle initial, without it, all lowercase, or with a typo. We saw this firsthand building a directory sync for a mid-sized HR stack. The CSV export had 400 employees, and three of them were named Justin Edwards. All three had different employee IDs. But the sync script keyed on display name because the vendor's API used it for lookup. Result: the first Justin's permissions got attached to a shared folder. And the second Justin silently lost access to the revenue forecast. No error. No alert. Just two engineers burning a Friday afternoon on a join that should never have existed. The fix is boring but correct: surrogate keys. Use a UUID, an employee ID, or a database sequence, and let the name be a display attribute. The [RFC 4122 UUID specification](https://datatracker.ietf.org/doc/html/rfc4122) exists precisely because natural keys are a trap. A name tells you what to call a person, and an identifier tells you who they are. ## Search Engines Wrestle With the Same Ambiguity Problem Search engines face the identical collision, scaled to billions of documents. When someone queries "justin edwards," the engine must choose which entity the user means - or serve a disambiguation page that admits the query is ambiguous. Wikipedia maintains a disambiguation page for the name precisely because no single article can satisfy every searcher. The ranking problem is contextual. A search for "justin edwards basketball" should surface the athlete. A search with the word "github" should surface the developer. The engine builds a vector for the query, a vector for each candidate entity, and scores the overlap. Co-occurrence statistics do the heavy lifting: if "sixers" and "forward" appear near the name in one source, that source climbs for sports queries. What's worth copying here is the explicit uncertainty handling. Search engines don't silently pretend one Justin Edwards is canonical. They rank alternatives, show a disambiguation block, and invite the user to pick, and most internal tools do none of that. They accept the first match and move on, which means the error shows up later as a duplicated ticket, a misfiled invoice, or a leaked access grant. ## Real Systems Break Quietly on Name Collisions Identity confusion doesn't announce itself. It shows up as a patient record merged with the wrong blood type, a KYC check that flags a legitimate customer because their name matches a sanctions list, or a mail merge that sends a compensation letter to the wrong employee. Each failure is technically a matching error. Each one is also a trust accident waiting for an auditor, and the worst cases are in healthcare. Patient matching errors are a documented patient-safety issue: two records with the same name and birthdate get merged. And one patient's allergy list migrates into another's chart. The industry's answer is not better names. It's a national patient identifier, a registry of authoritative IDs that removes the name from the matching equation entirely. You can build the same discipline with a public ID like a driver's license number or a customer UUID issued at signup. Fintech has the inverse problem. AML screening wants to catch a person named Justin Edwards who appears on a watchlist. The screening system returns hundreds of matches. And a compliance officer must decide which is the customer. False positives cost money. False negatives cost licenses. The entire field of entity resolution grew up around this grind. And the lesson is that deterministic equality on the name field is never enough. You need blocking, scoring, and a human review queue. ## The Data Pipeline Behind Reliable Name Matching Name matching sits on a pipeline that starts with normalization. Raw input arrives with mixed casing, Unicode characters, and stray punctuation. A robust matcher folds the string into a canonical form, but you have to be careful: ASCII folding that strips accents will merge "Zoรซ" and "Zoe" when they may be different people. Normalize case and whitespace. Stop before you destroy legitimate distinctions. Then comes blocking, a pre-filter that narrows the search space. Instead of comparing each incoming "justin edwards" against a million records, you block on soundex, a phonetic encoding, or the first four characters. You only score candidates inside the same block. Tools like Postgres with `pg_trgm`, Elasticsearch fuzzy matching, or a purpose-built library like `python-recordlinkage` all implement this two-stage flow under the hood. Scoring is where opinions diverge. Jaro-Winkler favors small gaps between matching characters, which suits name typos. Levenshtein handles insertions and deletions. Neither is enough on its own, which is why serious systems use probabilistic models derived from the [Fellegi-Sunter theory of record linkage](https://en.wikipedia.org/wiki/Record_linkage). You assign an agreement weight to each field - first name, surname, birthdate, postal code - and threshold the combined score. That threshold is a business decision, not a math formula. Lower it and you merge distinct people. Raise it and you duplicate the same one. ## Production Lessons From Identity and Search Engineering The graveyard of identity software is full of systems that treated the name as the contract. We've audited login flows where the bearer of any email address was authorized to read full profile data, because the only check was "the request's name equals the stored name. " That's a textbook [broken object level authorization](https://owasp.org/API-Security/editions/2023/en/0xa1-broken-object-level-authorization/) failure, and BOLA sits at the top of OWASP's API risk list for a reason. The rule we enforce in every code review now is simple: objects identify themselves, users prove who they are, and names never cross that boundary. An API path should carry a UUID, never a display name. A session belongs to a subject identifier, never a string a user typed at signup. When we moved a client's directory API from `/users/justin-edwards` to `/users/6f6d2c7e-. `, the access-control bugs stopped reproducing overnight. There's also a quieter operational lesson. Display names drift and people leave. A directory keyed on a name breaks when someone changes their surname after a wedding or when two employees have identical names. Keying on an immutable ID survives both events. Planning for the rename costs an afternoon. Recovering from the rename-after-the-fact costs a migration, a data audit, and an apology email. Pick the cheap option. ## Privacy, Bias, and the Ethics of Name Disambiguation Name ambiguity has a privacy upside. A extremely rare name is quasi-identifying all by itself. But a common name like "justin edwards" offers near-perfect anonymity in a de-identified dataset, because hundreds of people could match the same row. The k-anonymity literature frames this exactly: you want enough indistinguishable candidates that an attacker can't pin a row to one human. The bias problem runs the other way. Name-based scoring systems inherit the prejudices of the data they train on. And surname inference is a genuine risk vector for discrimination in lending and hiring. If a model uses name-derived ethnicity as a feature, you've built a proxy that survives almost any fairness audit. The engineering answer is to remove the name from the model entirely and keep it in a separate, access-controlled field. Regulation is catching up. Under GDPR Article 22, a decision based solely on automated processing can be contested if it produces legal effects. A loan denial driven by a fuzzy name match against a watchlist probably qualifies. The mitigation is explainability: log the match score, surface the candidate records, and route borderline scores to a human reviewer. That's an operations cost, but it's cheaper than a regulatory fine. ## What "Justin Edwards" Teaches About Identity Architecture Use this name as a design probe. Before you ship any feature that stores or displays a person, ask what happens when two people with the same full name appear in your database. If the answer is "we'll handle it later," you've already shipped the bug, and the later is always an incident. Architect identity as a set of signals, not a single field. An email address, a phone number, a device token, and a verified government ID each contribute a strand of evidence. The name is one more strand, useful for display but useless for proof. This is the model behind modern auth platforms: OpenID Connect gives you a stable `sub` claim. And every other attribute including the name is just a claim that can change. Start with the probe in your data model. A `person` table keyed on a UUID, a `person_name` table that supports multiple names and effective dates, and a matching service that scores candidates rather than claiming certainty. That's roughly two days of modeling work. And it converts every future "justin edwards" from an incident into a routine lookup. ## Frequently Asked Questions About Name Disambiguation ### Why isn't a person's name enough to identify them? Names aren't unique, stable, or canonical. Multiple people share any common combination. And one person can legally change their name. Identifiers issued by a system - UUIDs, employee numbers, customer IDs - solve all three problems at once. ### What algorithm should I use to match duplicate names? Start with normalization, then blocking on phonetic or character-level codes, then scoring with Jaro-Winkler or Levenshtein distance. For production scale, use a probabilistic record linkage model, not a single similarity function, and tune the accept and reject thresholds on your own data. ### How do search engines know which "Justin Edwards" a user means? They combine query context with candidate entity scoring. Co-occurring terms like "basketball" or "github" shift the vector toward the matching entity. When confidence is low, they surface a disambiguation page and let the user decide instead of guessing silently. ### Is fuzzy matching the same as entity resolution? No. Fuzzy matching measures string similarity between two fields. Entity resolution is the full pipeline: blocking, attribute comparison, score calibration, deduplication, and a decision policy about when to merge, split, or flag records for human review. ### Should I ever use a person's name in a URL? No. URLs and API paths should carry opaque identifiers like UUIDs. Names change, names collide, and name-based paths invite enumeration attacks where anyone can cycle through `/users/alice` and guess the next resource. ## Build Identity That Survives the Next Name Collision The next Justin Edwards is already in your signup queue. The question is whether your system will treat them as a new person or silently overwrite an existing record. Proactive work is cheap: surrogate keys in the schema, a matching service that scores instead of guessing, and a review queue for ambiguous cases. The work isn't finished at the database layer, either. Pair your identity model with proper authorization checks on every object. And keep the UI honest by showing users the profile they're acting on. The teams that get this right treat identity as a platform concern, not a form field. We help products audit their identity and access architecture before the collisions turn into incidents. If your directory, CRM, or mobile app keys on display names today, a free review with our engineers will surface the risk in an hour. [Contact us](/) to schedule an audit, and read our related post on [designing access control for multi-tenant mobile apps](/blog/multi-tenant-access-control) while you wait. ## What do you think?

Should platforms ever display a disambiguation chooser for common names. Or does that push the identity burden onto users who shouldn't have to care?

article

Is probabilistic record linkage reliable enough for healthcare and fintech decisions, or do those domains need mandatory human review on every ambiguous match?

If you banned all natural keys from your schema today, which legacy system would make your life the most difficult - and why haven't you migrated it yet?

Need a Custom App Built?

Let's discuss your project and bring your ideas to life.

Contact Me Today โ†’

Back to Online Trends