Returns a string representation of the reference.
a string representing the reference, or "null" if the reference is null