Added new asserts, improved UIControl.GetId().