Added claim IDs before firing ClaimBeforeCreateEvent

This fixes a problem I was having where I needed to apply logic to claims, categorize them and determine if they would be allowed. If they were allowed, I needed to record the ID along with what category they were.

I tried to avoid any writing to disk and let the existing code determine when to do so.