use spell ids in library