Diagnostics of solar and astrophysical plasmas - Dependent on autoionization phenomena