Added documentation for handling nested id types