A hierarchical approach to ecosystems and its implications for ecological land classification