Your writing has a fingerprint. How long your sentences run, which function words you favor, "alright" versus "all right," how you use commas, the typos you always make. Stylometry measures those habits and compares them with known samples.
It has a long history. Statisticians used it in the 1960s to argue that Madison wrote the disputed Federalist Papers. In 2013 linguists helped confirm that J.K. Rowling wrote a crime novel published under the name Robert Galbraith. Modern machine learning makes it faster and able to work on shorter texts like forum posts.
For anonymity this is a quiet threat. Tor hides your IP. It doesn't hide the fact that your anonymous account and your public blog both overuse semicolons and misspell "definately" the same way. Large forum dumps give investigators a lot of text to compare.
Defenses are imperfect. Keep anonymous writing short and plain, avoid pet phrases, and don't carry inside jokes across identities. Machine translation round trips change style but sound strange, which stands out in its own way. Mostly it's another reason to keep identities separate.