I thought options were also explicitly assigned for fulfillment (randomly among those matching) so you could match it to specific shares if you wanted.
My belief here is based solely on having read some documents about the assignment process and having seen no reference to such record-keeping.
https://www.theocc.com/getmedia/0cdda3c2-ab81-450f-b8b8-7ce8... https://gdcdyn.interactivebrokers.com/Universal/servlet/Regi...