Updated setslot ast and added identifier method in parser