Biological response to environmental stress. Environmental similarity and hierarchical, scale-dependant segregation of biotic signatures for prediction purposes