Question: how is your driver license number determined?
Answer: For anyone in Ontario with the same first, last or middle name as you, their license number will be encoded the same way. I can guarantee that one part (first, last or middle) is encoded independently and there is no relationship between the name encodings and the gender, date of birth or other parts of your name.