@staticmethod
def _lookup(record, index=None, default=None):
    """
        One-based lookup
        :param record: an object having a __getitem__ interface
        :param index: an integer, 0-based index
        :param default:
        :return:
        """
    if index is None:
        return default
    try:
        return record[index]
    except LookupError:
        return default
