toId

fun toId(method: EncodingMethod): String

Returns the canonical persisted id for method.