Function: getprefModelit
CALL:
retval = getprefModelit(group, pref, default)
DESCRIPTION:
Get the preference for the specified group and pref.