How do I hold a reference to an Entity on a component?

You shouldn’t have a reference to an entity on your system but rather have a component in another entity that hold that.
Maybe a Singleton can apply here depending on what you need.
You can look at how the conversion workflow works here to reference other entities from gameObjects, but take a look at this specifically.