Catch overlap between class parameters and methods

While identifier resolution already caught conflicts between class
parameters and inherited methods, it didn't do the same for methods
declared locally. This commit adds the same check and suggestion for
locally-declared methods as well.