Everyone around them would know their history, and name then therefore watch them to a close degree. As it is now, we simply try to prevent convicted pedophiles from being near unsuspecting children and parents.
---
With a terrorist, the argument is the same. If one knows that party A is a known terrorist, and has thoroughly checked them out then why not allow them to board a plan. 100% security isn't demanded---if it were, then we'd simply lock up every known terrorists before they committed any additional overt acts, then never release them.
---
Of all your cases, the mugging is the only one that makes sense because it refers to a lack of anonymity deterring a potential criminal rather than it being used as advanced warning for the potential victim.