Use GUID. When you need an id but don't need to specify its type or what the id means, but just need different values, GUID is your best choice. Moreover, there is a local expression method of GUID on every platform, so you don’t have to worry about the data being unreadable.
But then again, why does it have to be int? If this is just your inner OCD, you might as well just use the device's own 32-byte string. Anyway, if you add indexes to the database, it will be the same.
Use GUID. When you need an id but don't need to specify its type or what the id means, but just need different values, GUID is your best choice. Moreover, there is a local expression method of GUID on every platform, so you don’t have to worry about the data being unreadable.
But then again, why does it have to be int? If this is just your inner OCD, you might as well just use the device's own 32-byte string. Anyway, if you add indexes to the database, it will be the same.