Use table identifier to calculate both the model and database identifiers for aliasing.