17 = referring provider name. 17a = the referring provider's 10-digit NPI. 17b = the referring provider's taxonomy (or other payer-required ID).
The legacy UPIN identifier is keyed into 17a where the payer requires NPI. The supervising provider is recorded instead of the referrer. 17b has a taxonomy that does not match the referrer's enrollment.