core: allow binary resource names and id's in m_rsc (fixes #715)