pet_expr_access_get_id: avoid using access relation