function ingest$1(datum) {
    const t = datum === Object(datum) ? datum : {
      data: datum
    };
    return tupleid(t) ? t : setid(t, TUPLE_ID++);
  }
Ingest an object or value as a data tuple.
If the input value is an object, an id field will be added to it. For
efficiency, the input object is modified directly. A copy is not made.
If the input value is a literal, it will be wrapped in a new object
instance, with the value accessible as the 'data' property.
@param datum - The value to ingest.
@return {object} The ingested data tuple.