toMap

fun <T : Named> Collection<T>.toMap(): Map<Name, T>