A bid by Republican legislators to identify residents' immigration status on state-issued identification would have marked them for discriminatory policing, activists say.