Alternate approach, not going to push
Fixed bug in comparison expression.
Got parens to work correctly so that: $exists($(id)) && (($(pagetype) == 'roster') || ($(pagetype) == 'cheerleaders') || ($(pagetype) == 'coaches') || ($(pagetype) == 'staff'))

now parses correctly.

In the process, ended up deleting match function value.  Will get this checkin in and then re-implement the parsing for that function.
Don't need this anymore.