added get_id_by_slug() to functions