Screening of an ion in a finite electron gas and its relation to cluster structure