Cell adhesion in the life cycle of Dictyostelium