The ionic compound containing ammonium ion and carbonate ion gives off the odor of ammonia, a property put to use in smelling salts for reviving someone who has fainted. Write the formula for this compound.