Understanding Society: Generativity and emergence