add tests and fix nameidentifier parsing in case Format attribute is there
0.3.5