Conformism and Self-Selection in Social Networks