Ionization and protonation of NaC3: a theoretical study