A survey on nature-inspired metaphors for pervasive service ecosystems