I might add that 'flummery' of course has long meant polite nonsense.
By 1811 the phrase 'Balum Rancum' was being used to describe a hop or dance by prostitutes in the nude. This would seem to fit the subject of the ballad and may relate to 'Rigdum Bolleram'.