Significance of chemical recognition cues is context dependent in ants