improve GPathResultMap id handling