$(if $1,

$(anchor $(if $2,$2,$(sanitize $1)), $1, $3, $4)

)