@classmethod
    def restore_ids(cls, obj, ids):
        ids = iter(ids)
        obj.traverse(lambda o: setattr(o, 'id', next(ids)))
Given an list of ids as captured with capture_ids, restore the
dataset/ETHPy150Open ioam/holoviews/holoviews/core/options.py/StoreOptions.restore_ids