I need to generate unique ID numbers so that I can’t add them to the end of a url link and it will direct me to the dynamic page of the data that uses that ID. Any thought on how to achieve this?
your collections already have unique _id fields. If you want different ones, you can look into using UUIDs.
Either this is not correct for specifically the “contacts” or I am missing it. Can you please provide some more information about where to find and use the unique_id for contacts specifically?