Setting CellContext -> Notebook gives each notebook its own context. Details can be found in CellContext documentation.
You may view the current context with $Context.
You still declare variables as normal and they are placed in the current $Context.
x = 5;
All of the variables in the ...