On the (mis)measurement of legislator ideology and shirking