This sounds familiar, including an unstable or uncertain view of oneself caused by – depending on the situation – not knowing if one's pretty smart and inventive, or a total idiot not capable of living life. Finding the right environment and well, just age help a lot.