Anonymity isn’t it, or isn’t all of it. YouTube comments were deanonymized but that didn’t improve discourse. Look at Facebook and some of the “discussions” about politics there. Newspapers tried running comment sections, but either they’re a cesspool, real names or no, or they just gave up having comment sections entirely. Even locale isn’t a help - NextDoor is full of the same, or worse, combative vitriol. Sure, child porn and death threats don’t go unpunished like “back in the day”, so things are infinitesimally better, but we still have a very very long way to go.