Let's rename this to something that is clearer. This is not storing the name of the active page-- it's storing an ID to use for comparison against which page is active. Perhaps page_id? The expectation is unique, though the code may not really be enforcing that.