I also give everyone a unique reference tag; I use the first two letters of the surname, then the first two letters of the forename and then the date of birth.
eg.
maha1889: Margulies, Hanns, born 1889
codo1891: Coleman, Dora, 1891
but also with variants,
cojh1888: Coleman
John
Henry and
ferm1887: Ferrie,
Robert
Morrison
Another problem is with tags like bahe18xx, where I don't know the birthdate
I have two Warren Colemans, birthdate unknown, in the 19th century,
so I have cowa18xxs (Senior) and cowa18xx

This tag is used in my excel database (so I can find all event from any particular person) and as a prefix for HTML pages on my website, photos, documents, etc.
This system works for me, as I only have several hundred names in my trees, but it probably won't work if you have several thousand names, especially if you have SMITH, JONES, EVANS etc in your trees. In the long run, any numbering/naming system of tags, that fits
your personal way of working will be the best system (for you

)
Bob