getNameId(String, boolean, boolean) method

Syntax

static int getNameId ( String name , boolean checkWithoutPrefix , boolean addIfNotExist )