Wolf, Friedrich August, Philologist