Security and privacy in complex, context-aware systems: a comprehensive framework | Synapse