Extract id from info. Override for custom behaviour.

def _hook_id(self, info):
        """ Extract id from info. Override for custom behaviour. """
        if isinstance(info, dict) and 'id' in info.keys():
            self.id = info['id']