def number(self, p_todo):
        """
        Returns the line number or text ID of a todo (depends on the
        configuration.
        """
        if config().identifiers() == "text":
            return self.uid(p_todo)
        else:
            return self.linenumber(p_todo)
Returns the line number or text ID of a todo (depends on the
        configuration.