the substitution of an epithet or title for a proper name, e.g. his honour when referring to a judge
the use of a proper name to denote a class of person or thing, e.g. a Solomon for a wise ruler
an example of antonomasia
[via Latin from Greek antonomasia from antonomazein to name instead]