def rewrite_function_name(journal_id, rewrite_type):
    """ concatenate the name of the rewriting function """
    if not journal_id or not rewrite_type:
        return None
    return 'rewrite_' + journal_id.lower() + '_' + rewrite_type
