Polyhedral oligosilsesquioxane tethered perylene diimide for application in optical limiting and rapid detection of fluoride ions.