Solar analogs with and without planets: T$_c$ trends and galactic evolution