Context name field

http://tracker.modx.com/issues/7788

My old pull request: #367