Using the prefix or nickname fields isn’t a very clean way of dealing with titles. A better way would be a separate field that could be replicated as needed for multiple titles, and dates for when they held those titles. Titles are not necessarily acquired at birth, and sometimes are relinquished before death.