A theoretical study of the use of internal standards for precise isotopic analysis by the surface ionization technique: Part I - General first-order algebraic solutions