daffIdentifiableArrayToDict
Transforms an array of DaffIdentifiable
objects to a dictionary of those objects keyed by ID.
import { daffIdentifiableArrayToDict } from '@daffodil/core'
const daffIdentifiableArrayToDict: <T extends DaffIdentifiable = DaffIdentifiable>(ary: T[]) => Record<T["id"], T>