An Economic Analysis of Identity and Career Choice