Pew could add an extra step to each question in order to measure that. That would something like “How sure are you of your answer? 5: certain, 4: very sure, 3: somewhat sure, 2: a little uncertain, 1: not sure at all”