Search the list looking for the entity with a matching unique identifier.
the entity list
the unique identifier
the matching entity, or NULL