Using internal method to simplify ID conversion