An algorithm for the identification of indicator taxonomic units and their use in analyses of ecosystem state