Allow batched values to assign data for more than one timestamp

It's generally not a good idea to name variables "id" since that shadows the built-in function.