Add ability to specify components by name and index to EELSModel methods.