code: def _attachment_uri(self, attachid):
          
          att_uri = self.url.replace('xmlrpc.cgi', 'attachment.cgi')
          att_uri = att_uri + '?id=%s' % attachid
          return att_uri
docs: Returns the URI for the given attachment ID.