Attributes of resilience and early warning indicators