A person who studies or teaches logic.
A wise person with knowledge of history, genealogy and ancient poetry and possibly magic as well.