joyces practice of insulting people by name within a creative work can be traced back to the irish bardic tradition , particularly to the poet raftery ( 1779-1835 ; referenced in u 12.727-9 ) , who was famous for giving bad luck to those whom he named in his songs .