serialize
Return the id of the referenced instance when serializing. Prevents the referenced instance from being entirely serialized when serializing the referencing instance.
ref.serialize
Returns
{string}:
id the id of the referenced instance