GrammarSlots are compared using their ids instead of references. This way the copied slots can be used instea d of the original ones in constructed SPPFs.