@classmethod
def capture_ids(cls, obj):
    """
        Given an list of ids, capture a list of ids that can be
        restored using the restore_ids.
        """
    return obj.traverse(lambda o: getattr(o, 'id'))
