Changed peripheral comparison to work by identifier field