A soldier's name carved into the walls of a French underground city has been traced back to a man from Barnsley.