Text this: Diagnosability, Security and Safety of Hybrid Dynamic and Cyber-Physical Systems