using nid to generate ids in util plugin