A dichotomy for P-ideals of countable sets