To those who may end up here from google:
I still have no idea why I can't use $CIDNAME, $CIDNUMBER, or $CALLID[n] in FaxDispatch like apparently every other person who has ever run a Hylafax server, but I did find a variable that does retain that info: $SENDER
This is used in the e-mail dispatch and contains, it seems, the Caller ID Name; or if there is no name, the Caller ID number. If you wanted both, and you have the same problem as me, it seems you're out of luck. But this is good enough for me. So my very simple FaxDispatch, which converts the fax to PDF and gives it a descriptive name, is:
Code:
TIFF2PDF=/usr/bin/tiff2pdf
if [ -f $FILE ]; then
$TIFF2PDF -o /var/spool/hylafax/recvq/$SENDER-$FILENAME.pdf $FILE
fi