Ensuring the account id is automatically assigned to new model objects.