Allow for reference attribute for geometries.

We use the reference attribute to keep info on related data. This is allowed for 'image' but not for 'geometry'. This request allows it for 'geometry'.