of

fun of(id: String, k: Int = K): Int(source)

Fixed by the id alone: the first 4 bytes of sha256("fold:" + id) mod K.