code: def obo(self):
          
          return ' '.join(['synonymtypedef:', self.name,
                           '"{}"'.format(self.desc),
                           self.scope or '']).strip()
docs: str: the synonym type serialized in obo format.