Creates a reference for one item of this class by a known ID.
An example for categories but this applies for other resources, too:
io.sphere.sdk.categories.CategoryTest#referenceOfId()
If you already have a resource object, then use
#toReference() instead:
io.sphere.sdk.categories.CategoryTest#toReference()