The Counteracting Nature of Contextual Influences: Peer Effects and Offsetting Mechanisms in Schools