support namereg queries in epm. closes #19