Add a dictionary linking idxs to ids 

There is currently a dictionary from ids to idxs, this is not very useful since if we have the id we can get the cell from the cellstate dictionary and then get its idx. 
However frequently I need to go the other way, I have the idx and I want to get the id. 

I might be an idea to remove id_to_idx altogether.