Cleaned up, simplified GenericDAO.getNextId() for merged DB and +ve ID only scheme.