Escape ID in database