Add get_left_id and get_right_id methods to entity class

I believe we will be using these after all, for example, to determine if a rule is a category or sub-category in a controller:
```if ($entity->get_right_id() - $entity->get_left_id() > 1)```