You should be able to just pass the URL name to redirect and it'll look it up in reverse.