Why not out of the box? If you go to your site set...
# suitecommerce
t
Why not out of the box? If you go to your site setup record you should be able to choose the internal id as the identifier