They begin to identify this themselves. Children who are unpredictable do well with structure. They will figure this out. As a result, their personalities will become modified. The difficult personality traits that are innate become modified.
Children are resilient.
My view of what it is to be an expert parent is to mold your child and make your expectations of the child consistent with who they are. Do not expect yourself to be perfect. Children bounce back and do not expect that you always be 100 percent on target. I don't know what to do with him. He is very hard to handle and that all is just a small portion of how he is.