type is the 4 character identifier of the resource
type to get the name from.
id is the resource number to get the name from.
string contains the name of the resource.
If the resource does not exist
then the string returned will be empty. If the string is empty
however, it does not mean the resource does not exist, it could
be that the resource simply does not have a name. To test is
a resource exists you should use the function Resource