Added ResourceId class, encapsulation of a uint64_t used to identify a resource by type and index.