Fix 'self.' prefixing in Python generator
Fix 'self.' prefixing in Python generator

This was missing in some cases, and in others was incorrectly assuming
an AE was just a variable.

JDemler/snowball,cesarsouza/snowball,cesarsouza/snowball,JDemler/snowball,snowballstem/snowball,JDemler/snowball,snowballstem/snowball,snowballstem/snowball,snowballstem/snowball,snowballstem/snowball,cesarsouza/snowball,cesarsouza/snowball,JDemler/snowball,cesarsouza/snowball,JDemler/snowball,cesarsouza/snowball,snowballstem/snowball,snowballstem/snowball,JDemler/snowball,cesarsouza/snowball,snowballstem/snowball