returns the numeric window handle associated with the named window. Used by plugins to determine what the window handle of a given window is.