If an unknown dead body is found in a community of Muslim majority, then she is likely to be a Muslim and thus the Muslim funeral rites becomes due. Otherwise, we can identify him or her through the clothes he or she wears, etc.