faster getQName implementation