Patient numbers that end the confusion
Every patient gets a clinic patient number, such as P-00042, on their first booking. It's searchable everywhere, from the patient list to the front desk, so two people with the same name are never mixed up.
When a returning patient walks in, the front desk searches first, so they stay on their own record instead of getting a duplicate.