knownIdentifier

fun knownIdentifier(term: Term): Int?

The identifier of term if it has one already, without giving it one