Get the correct name from manifest or constructor.