Lookup from the numeric code used in the scene and API payloads.
Looks up the entry whose type equals type.