name2qid
qgrp = name2qid(queuegroup);
r = name2qid(pvp[1]);
i = name2qid(pvp[1]);
extern int name2qid __P((char *));
qgrp = name2qid(id);