Medical and sociological typologies: the case of epilepsy.