C++ removed Shape.id, which doesn't look like it exists in Go. Still, there may be handling of Shape.id that could be synced up with C++. Use of ShapeIndex.idForShape is slow and should be looked at. #136 removed some but not all uses.