def get_table_id(current_page, objects_per_page, loop_counter):

    """
    Calculate correct id for table in project page. This function is used only for pagination purposes.
    """

    return ((current_page - 1) * objects_per_page) + loop_counter