#43 introduce composes helper to find composes id from in-memory list