Qualitative models in nanophotonics: scientific and educational aspects