Add id field to query for goracle.