A sensing mechanism for the detection of carbon nanotubes using selective photoluminescent probes based on ionic complexes with organic dyes