Twisted indices, Bethe ideals and 3d N = 2 infrared dualities | Synapse