Changed index-delete-resource to delete on resource identifier rather th...

...an icode, class combination.