Implement PBCTransport.get_index for 2i lookups