Disentangling environmental and heritable nestmate recognition cues in a carpenter ant.