Added new_id_from_str(), id_contains_char()