"added code to check the element should have valid identifier (ie)  Identifier should start with WP"