How to get specific entries id
Correct me if iam wrong but cant you just use the ElementCriteriaModel. Essentially because you are looking for an element type using that will give you much more flexibility - bassicly it is a query builder on roids. 

    $criteria = craft()-&gt;elements-&gt;getCriteria(ElementType::Entry);

    // Enter in params. here you can enter your sectionId
    $criteria-&gt;section = 'stories';
    $criteria-&gt;title   = 'Story One';
    $entries = $criteria-&gt;find();


This will return an array of all the entries that match this criteria. Ofcourse because this is craft you can thus enter a whole lot of other params and do some fancy stuff e.t.c.. 

I'll add two links at the bottom that are good reads on the subject:

https://craftcms.com/docs/plugins/working-with-elements

https://tighten.co/blog/craft-cms-building-complex-queries-by-extending-the-elementcriteriamodel