Change the use of ids to urlsafe