Add two next extension functions, one to return a transaction ID,
one to return if a transaction ID is visible to the current transaction.