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.
Optional
onWhat should happen when the resolved value changes.
Must return the resolution for the given reference object.
Custom reference options.