Avoid 'self' variable assignments

Resolves #8362. 
> "fgrep -R ' self = ' sympy/|wc -l" initially gave

36
This is the wrong kind of change. The first argument of any method should remain self.