Perhaps a compromise is to identify a journalist by the news network they're associated with.
"In arguments before us, the defence was referred to as the responsible journalism test. This has the value of capturing the essence of the defence in succinct style. However, the traditional media are rapidly being complemented by new ways of communicating on matters of public interest, many of them online, which do not involve journalists. These new disseminators of news and information should, absent good reasons for exclusion, be subject to the same laws as established media outlets. I agree with Lord Hoffmann that the new defence is “available to anyone who publishes material of public interest in any medium”"
Decision: https://scc-csc.lexum.com/scc-csc/scc-csc/en/item/7837/index...
This explanation is an answer to the question of who's a "legitimate journalist", which is that it should be about what people are doing not who they work for. That's an idea captured in the above case, which reviews some of the laws of other countries on this subject too. It was in the context of defamation, but it's closely linked to your comments about accountability (since the everyday threat is lawsuits, not assault/arrest).
There are, and it usually is a bad thing. Making it "official" is an easy way to gatekeep speech rights.
Like how police officers have a warrant and specific powers and accountability, could legitimate journalists be recognised, empowered and held accountable like that? Then it could also be an offence to impersonate them.
Otherwise yeah a journalist is just some random person claiming to be a journalist and I'm not sure what could be done about that?