find layer by id