Experts have solved a mystery over stained glass window fragments which were anonymously returned to a historic abbey several years ago.