Add a reference to an object.
object |
The source object to add a reference to. |
cancellable |
optional cancellable for this operation |
the id of the newly created reference |