A profile-driven dynamic risk assessment framework for connected and autonomous vehicles | Synapse