def METHOD_NAME(self, view_kwargs):
    """
    before get method to get the resource id for fetching details
    :param view_kwargs:
    :return:
    """
    if view_kwargs.get('event_identifier'):
        event = safe_query_kwargs(
            Event, view_kwargs, 'event_identifier', 'identifier'
        )
        view_kwargs['event_id'] = event.id
    if view_kwargs.get('event_id'):
        event = safe_query_kwargs(Event, view_kwargs, 'event_id')
        if event.event_topic_id:
            view_kwargs['id'] = event.event_topic_id
        else:
            view_kwargs['id'] = None
    if view_kwargs.get('event_sub_topic_id'):
        event_sub_topic = safe_query_kwargs(
            EventSubTopic,
            view_kwargs,
            'event_sub_topic_id',
        )
        if event_sub_topic.event_topic_id:
            view_kwargs['id'] = event_sub_topic.event_topic_id
        else:
            view_kwargs['id'] = None