add a methode for customerDAO to get next id