The friend is Thomas Wilkinson of Yanwath, a local antiquary. See Owen and Smyser for more details on Wilkinson and the story Wordsworth tells here.