With the right strategy, Bernie could have won this primary. His ideas are largely popular within the party. But attacking Democratic establishment figures isn't the way to win over Democratic primary voters.