Application of psychosocial theory to gerontology systems