[mapistore-python][sample-backend]: fix attachment ID behaviour, use attachment cache and add set_properties