Chemical Coding at the Atomic Scale: Designing Hybrid and Quantum Nanostructures for Applications in Optical Biosensing, Light Harvesting, Chiral Catalysis, and More