In French legal citation, one is supposed to refer to "professor X" or "Dean Y" when referring to an author in a sentence. Using biblatex and Biber, this would mean that \citeauthor{key} should prepend the right academic title (if any) before each author.
The idea would be to have a separate database (in whatever form) specifying an author name and the title to prepend, and to have biblatex look in the database whenever \citeauthor is called. Ideally, one could add names to the database by using a latex command such as \addauthor{X}{Professor}. I am not interested in having a macro for "professor" and another one for "dean".
Thus, I would like to know if such a system could be implemented (i.e. whether it would be reasonably simple and efficient, given that \citeauthor is not the most widely used command), and how to implement it.
Edit
Following Daniel E. Shub's idea of using the nameaddon field, I figured out a Biber solution that seems to work properly, although it requires having two \citeauthor commands for capitalisation purposes.
In the biber.conf file, I wrote the following (with actual last names instead of X, Y, Z):
<map>
<map_step map_field_source="AUTHOR" map_match="X|Y" map_final="1"/>
<map_step map_field_set="NAMEADDON" map_field_value="le professeur"/>
</map>
<map>
<map_step map_field_source="AUTHOR" map_match="Z" map_final="1"/>
<map_step map_field_set="NAMEADDON" map_field_value="le doyen"/>
</map>
And I modified the \citeauthor macro as described by Daniel, with a \CiteAuthor variant that applies the \MakeCapital formatting (for start of sentence citations).
Not sure this is the most aesthetic way of doing it, though… and, as mentioned, it only works for single author references.
