Rational populists: the social consequences of shared narratives