[NUI] Change to use GetNativeId() (#1742)