add multiple forename index
add possibility to refer a class resource by its id