[MOD] More work done on name indexes.
[ADD] XQuery functions to create/find/scan name indexes.