'Get a batch_id, or lazily make a new one.'

@property
def batch_id(self):

    if (self._batch_id is None):
        self._batch_id = (int((time.time() * 1000)) % (((1000 * 60) * 60) * 24))
    return self._batch_id
