LONDON — In the five years David Cameron spent rebuilding the Conservative Party in opposition, opinion polls showed that as he sought to rebrand it by offering a compassionate but persistently fuzzy image, voters had trouble defining what sort of a prime minister he would make.