Circuits for social learning: A unified model and application to Autism Spectrum Disorder