Fixed many clang-tidy inconsistent-declaration-parameter-name warnings
clang-tidy's auto-fix favours the name in the declaration, but it's not necessarily the better one, so I did use my judgement to choose between the declaration vs definition's name.
Sometimes comments had to be adjusted too.