def GetNotation(self, id, type):
        '''
        method which searches for notation from <type> list at position <id>
        :param id: the number to look for - i.e if you're looking for the first one in wrap notation, id will be 0
        :param type: post, pre or wrap
        :return: the notation class searched for or none
        '''
        if type == "post":
            if (id == -
                1 and len(self.postnotation) > 0) or (id != -
                                                      1 and len(self.postnotation) > id):
                return self.postnotation[id]
        if type == "pre":
            if (id == -
                1 and len(self.prenotation) > 0) or (id != -
                                                     1 and len(self.postnotation) > id):
                return self.prenotation[id]
        if type == "wrap":
            if (id == -
                1 and len(self.wrap_notation) > 0) or (id != -
                                                       1 and len(self.postnotation) > id):
                return self.wrap_notation[id]