Port `bind-attr` helper