Returns a resource ID (support for multi-resource view)
This method is used to retrieve a resource ID previously assigned by SetResourceID().
An appointment's storage is identified within multi-storage by this ID.