How health risks prevention shapes collective identities: a micro-sociological approach