mapWithId

abstract fun <B> mapWithId(transform: (ID, T) -> B): Field<B>

Map the field using the transform function.