Pregnant immigrants need to provide identification (a full name, date of birth) so that their status can be verified. They may also provide documentation such as an I-551 or I-94.
A person who is undocumented or not lawfully present status would not need to provide documentation as it is assumed that they do not have documentation.
However, for applications they will still need to provide name, date of birth, address and a signature, etc.