“Like with like” or “do like?” Modeling peer effects in the classroom