He's been written off by his critics, but Ed Miliband has qualities that set him apart