A theoretical basis for bioindication in complex ecosystems. (July 2022)