Allow customizing ident and selector lookup.
Need to make the builtin check/eval selector/ident functions public so those can be used as a fallback.
Need to export ConstValOf for custom ident lookup
For work to allow replacing our Id and selector lookups: public type EnvSource and its enumerations. Setter methods for id.knownType, id.constValue and id.Envsource