generate widget id for jquery selector