Stigmergic Cues and Their Uses in Coordination: An Evolutionary Approach