Helper/SysCustomer.php
public function getId()
    {
        if (is_null($this->cacheId)) {
            $conn = $this->daoGeneric->getConnection();
            $entity = Cfg::ENTITY_MAGE_CUSTOMER;
            $cols = [Cfg::E_CUSTOMER_A_ENTITY_ID];
            $quoted = $conn->quote(Cfg::SYS_CUSTOMER_EMAIL);
            $where = Cfg::E_CUSTOMER_A_EMAIL . '=' . $quoted;
            $rs = $this->daoGeneric->getEntities($entity, $cols, $where);
            $found = reset($rs);
            $this->cacheId = $found[Cfg::E_CUSTOMER_A_ENTITY_ID];
        }
        return $this->cacheId;
    }
public function getId()
    {
        if (is_null($this->cacheId)) {
            $conn = $this->daoGeneric->getConnection();
            $entity = Cfg::ENTITY_MAGE_CUSTOMER;
            $cols = [Cfg::E_CUSTOMER_A_ENTITY_ID];
            $quoted = $conn->quote(Cfg::SYS_CUSTOMER_EMAIL);
            $where = Cfg::E_CUSTOMER_A_EMAIL . '=' . $quoted;
            $rs = $this->daoGeneric->getEntities($entity, $cols, $where);
            $found = reset($rs);
            $this->cacheId = $found[Cfg::E_CUSTOMER_A_ENTITY_ID];
        }
        return $this->cacheId;
    }
Return ID of the system customer.

@return int