On the measurement of ionization in hydrogen bubble chambers