The function of attachment in first episode psychosis: a theoretical integration and clinical investigation