Using Static Entities Identifier in Advanced Queries

Is it possible to use the Identifier of an Static Entity Record directly in a Advanced Query?

yes it is, you can use the ID as in the integer ID, or you can add an input parameter to the query and then use it, this is how i always do it