Scaling of the vortex–liquid resistivity in high temperature superconductors