For instance, get the activity's object id regardless of it being a reference or embedded: https://github.com/hyphacoop/social.distributed.press/pull/99#pullrequestreview-2579376736