Precompute and cache the numeric IDs for resources.
Store vesselType as an Enum to avoid ToString for a minor performance gain.