On trial: Gender identity and social change