Optional
getMust return the ID associated to the given target object, or undefined
if it has no ID.
If not provided it will try to get the reference id from the model getRefId()
method.
Target object.
Optional
onWhat should happen when the resolved value changes.
Reference object.
New resolved value.
Old resolved value.
Custom reference options.