Similar Items: A Formal Model for Polarization under Confirmation Bias in Social Networks