Return index of element with specified name in the global element list.
element_name (str) – element index
int
the index of the specified element, -1 if not found