added identifier validation