So, when you create the elements; You can specify your own identifier; however, you cannot change it after it is created, since it is a unique identifier for the string.
A bit more in Object ID
If you want to specify them when creating your elements, you can do: {_id: 'YourUniqueID'}, which will override it. Additional information in this link.
Hope this helps!
source share