removed warning about wrong string in Id constructor in case of null string