REF: Add back attr passing in concat by attribute
xref https://github.com/pandas-dev/pandas/pull/59141#issuecomment-2211690779
Going to merge to fix geopandas CI downstream. Happy to follow up if needed