Reference IDs can be re-used when the lifetime of the reference ends. The same is true for spl_object_hash(), but this has a much higher impact on exporting arrays in the exporter, because Phony creates the references, and they're typically very short-lived.
This has made the exporter output worse overall, and it sucks.