Add a helper for displaying a transaction's reference, to make it easier in the future to change what is shown when no reference is present.