SAPERE: Self-aware pervasive service ecosystems