Cast resource names to symbols