Apostasy: A Social Learning Perspective