Is the "ginger nut" supposed to be Rayner?

As a foreigner on these shores, I've always been mystified by the animosity towards redheads, but I'd have thought it wasn't entirely consistent with the standards of the House to refer to the Deputy PM as a "nut"

So I hope I'm wrong about the reference.