Make virtual IDs negative so we can differentiate them from physical materials.