Please read the Official Doc for v8.0 , it will give you clear idea.
For note, if your are using New API then you just directly create model_object and fetch using model_obj.id
As on your example
HrEmployee = self.env['hr.employee']
employee_id = HrEmployee.id