Set random widget Id in label if empty

Signed-off-by: Tom Wright <tom@inflatablecookie.com>