If the child has been placed with you as a foster child by an agency or the government, you can claim a dependency exemption as long as the child has lived with you for more than half the year and the child doesn’t pay more than half of his/her support (foster care payments are provided by the agency, not you). If the child has been placed with you for a legal adoption, the child is treated as your own.
For an individual, his or her Social Security number; for businesses, fiduciaries, and other non-individual taxpayers, the employer identification number.