Pa means "which". I conjecture (I may be wrong) that beth comes from pa ("which") + peth ("thing"), which, due to mutation would become pa beth. Later the pa would have been dropped to give just beth. Again though, this is JUST A GUESS.
January 13, 2017