Get the related field name when it doesn't use a primary key for relation.