The most likely origin of the name and type is the 17th-century Gilles le Niais (Gilles the Simpleton), a character who may or may not have known multiple incarnations.
But this claim of single parentage is weakened by Victor Fournel's admission that Gilles le Niais could have been "a sobriquet of a type, applied to several personages" [REF].