From Patterns to Function in Living Systems: Dryland Ecosystems as a Case Study