This method retrieves an entity's component, if it exists.
Returns a component if it exists, otherwise NULL is returned.