newName

fun newName(suggestion: String, tag: Any = UUID.randomUUID().toString()): String

Return a new name using suggestion that will not be a Swift identifier or clash with other names. The returned value can be queried multiple times by passing tag to NameAllocator.get.