Hey,
Keeping it as auto-number is the preferred way to do it.
As for the impact when deploying applications from one environment to another indeed, the data created in different environments might have different IDs (as primary keys), but shouldn't impact your logic unless you really rely on the main ID of the entity to uniquely identify records across environments.
Regards,
Bogdan