See Document.id.
static final id = obx.QueryIntegerProperty<Document>( _entities[0].properties[0], );