returns the window identifier for the given node / window
Optional
the window identifier or null if none is found
returns the window identifier for the given node / window