case insensitive comparison of namevals