Added getById
Reworked handling of internal ID. Added find() to collections.