use a common connection id counter for all models