Pylint reporter cleanup (#5003)

* Create a file for pylint.reporters.BaseWritter

* Calculate visitor name only once in Reporter nodes

Remove dead code that was always failing and replace it by
an attribute directly.

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
4 files changed