Probing the influence of hydrogen cyanide on PAH chemistry