<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_user_by_id(self, id):
 """Retrieve a User object by ID."""

        return self.db_adapter.get_object(self.UserClass, id=id)