Calling setObject() below will automatically create $this->ObjectID and $this->ObjectType fields that you can use instead of defining pageClassName.