Add select_cell_id method and relevant tests.