resource: add _id/_pk to enable easy set url creation on client