docs: def to_kaf(self):
          """
          Converts the element to NAF
          """
          if self.type == 'NAF':
              ##convert all the properties
              for node in self.node.findall('properties/property'):
                  node.set('pid',node.get('id'))
                  del node.attrib['id']