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