Added GrantTrait::setIdentifier

I found it useful to be able to set the identifier so I could "alias" one for deprecation. Hopefully no issues here @alexbilbie