Allow for an empty string on a sound or picture resource ID.