I can't see how the fact there was the earlier version matters too much. Rewritten as Sam Hall the song had enormous notoriety in early Victorian times. Very much opart of the environment about which Dickens wrote.