An unlikely political lesson from Ed Miliband, Britain’s energy secretary