I followed this solution and I was able to get it to work successfully:
how to get document id on tapping the uitablecellviewcell in Firestore in swift
However