The previous method was prone to creating collisions when a lot of recon ids were created around the same time. Closes #3785.