The practice of identifying authors from their writings

Solution 1:

Yes, you're looking for Stylometry:

Stylometry is the application of the study of linguistic style, usually to written language.

Stylometry is often used to attribute authorship to anonymous or disputed documents. It has legal as well as academic and literary applications, ranging from the question of the authorship of Shakespeare's works to forensic linguistics.