def get_tag_add(self, tag):
        if not self.has_tag(tag):
            tagid = self.add_tag(tag)
        else:
            tagid = self.tag_id[tag]
        return tagid
Return tag id and creates it if necessary.
dataset/ETHPy150Open omangin/multimodal/multimodal/db/models/sound.py/DataBase.get_tag_add