How to measure attitudes