Destroy on a resource should not break in case of no identityMap

There are cases when we want to create a resource and then later assign its id and finally destroy it when no longer needed. E.g. in Lotus this is the case when we deal with new tickets.  

cc @shajith @jish