fixes #5679 - create model lookup for compute_resource_name association to work

Yes, to_label is unique as it contains the name, which itself is unique.