Converts the object to NAF

def to_naf(self):
        """
        Converts the object to NAF
        """
        if self.type == 'KAF':
            self.type = 'NAF'
            for node in self.__get_wf_nodes():
                node.set('id',node.get('wid'))
                del node.attrib['wid']