How to create mesh part with ID at run time

I need to be able to create a meshpart from a script and give it a certain ID. If you know of anyway I can do this or any workarounds please let me know.

To put it in context, I am saving parts in the scene then loading them in again with their properties so if there is a mesh part I need to be able to set its ID.

Thank you.