Add variable boolean key handling

This pretty much removes any inflexibility in Loquate
stemming from use of constants.