Measuring Identity: A Guide for Social Scientists