[[ Cocoa ]] Implemented windowId property - this is the 'windowNumber' of the window which can be used in system functions, and to look up an NSWindow* in the running app.