Elementary exciton mediated Raman scattering mechanisms in pristine and functionalized single walled carbon nanotubes