Actually it wouldn't even be necessary to store the slug, given that widget urls only get created once.