Self-supervised learning for medieval handwriting identification: A case study from the Vatican Apostolic Library