Starmer’s government must learn from leaders who transformed Britain: Attlee, Blair and, yes, Thatcher