No, there are actually more options than that ... remove the privileges of the lazy or intellectually-challenged

FYI, there is no "code" that can prevent human sloppiness

Since you seem to be so smart, go ahead and explain how can one create a "code" that prevents one person from putting in Evolution Kennel's Miss Superbuck, another from putting in Evolution Kennels' Miss Superbuck, and a third from putting in Evolution Kennels Miss Superbuck? (or Super Buck)?

Or how bout a 4th genius from putting in EK's Miss Superbuck?

Or a 5th from putting in EKs Miss Super Buck?

Or any of a thousand WRONG ways (or combination of wrong ways) to enter a dog?

Go ahead and explain how to write such a code ... or maybe you can tell my brother how to do it ... as he only makes $350/hr as a professional software developer for little companies like General Motors, Bank of America, etc.

No, buddy, there IS NO "code" than can overcome human stupidity, poor spelling, and downright laziness. You can only educate and request compliance with the proper method.

No "code" can overcome bad spelling and totally different names.

Jack