A Generic Approach for Identification of Event Related Brain Potentials via a Competitive Neural Network Structure