def method_id(self, api_info):
<EOL>if api_info.resource_name:<EOL><INDENT>resource_part = '<STR_LIT>' % self.__safe_name(api_info.resource_name)<EOL><DEDENT>else:<EOL><INDENT>resource_part = '<STR_LIT>'<EOL><DEDENT>return '<STR_LIT>' % (self.__safe_name(api_info.name), resource_part,<EOL>self.__safe_name(self.name))<EOL>
Computed method name.