Replaced Split with slicing to extract identifier