Forensic linguistics
Forensic linguistics is a branch of applied linguistics. It uses linguistics to help give evidence in a trial. One aspect of it is to identify a person by analysing the language that person uses. Other questions might be about finding the author of a text (or telling whether two texts were done by the same person).