Returns next incremental ID. The ID is global to the application and the counter is not reset, when the application is restarted.