properly handle identifiers with leading underscores like '__b', but don't apply transformation for leading and trailing underscores like '__iter__', remove dirty hack for '__b'